<?php

namespace app\controller;

use app\BaseController;
use think\facade\View;

class About extends BaseController
{
    public function index()
    {

        //企业介绍
        $company_introduction = get_sys_config('company_introduction');
        View::assign('company_introduction', $company_introduction);

        $company_bg_img = get_sys_config('company_bg_img');
        View::assign('company_header_bg_img', $company_bg_img);

        $company_bg_content_img = get_sys_config('company_bg_content_img');
        View::assign('company_bg_content_img', $company_bg_content_img);


        $mission_bg_img = get_sys_config('mission_bg_img');
        View::assign('mission_bg_img', $mission_bg_img);
        
        $mission_bg_up_img = get_sys_config('mission_bg_up_img');
        View::assign('mission_bg_up_img', $mission_bg_up_img);


        $mission_and_vision = get_sys_config('mission_and_vision');
        View::assign('mission_and_vision', $mission_and_vision);
        return View::fetch();
    }
}
